package com.ruoyi.service.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import javax.validation.constraints.NotNull;
import lombok.Data;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 抄记录对象 service_check_meter
 * 
 * @author yepanpan
 * @date 2025-04-21
 */
@Data
public class ServiceCheckMeter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    private Long id;


    /** 单位区域 */
    @Excel(name = "单位区域")
    private String deptName;
    private Long deptId;

    @Excel(name = "楼栋")
    private String buildingName;
    /** 房屋 */
    @Excel(name = "单元号")
    private Integer unitNum;
    @Excel(name = "房屋")
    private String roomName;
    @NotNull
    private Long roomId;

    /** 类别 */
    @Excel(name = "类别", dictType="meter_type", comboReadDict=true)
    private String type;

    /** 表显数字 */
    @Excel(name = "表显数字")
    @NotNull
    private BigDecimal num;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    @NotNull
    private Date startDate;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    @NotNull
    private Date endDate;


}
